$OpenBSD: patch-content_shell_browser_shell_browser_main_parts_cc,v 1.4 2015/07/23 13:44:04 robert Exp $
--- content/shell/browser/shell_browser_main_parts.cc.orig.port	Wed Jul 15 22:30:03 2015
+++ content/shell/browser/shell_browser_main_parts.cc	Wed Jul 22 08:37:30 2015
@@ -39,7 +39,7 @@
 #if defined(USE_AURA) && defined(USE_X11)
 #include "ui/events/devices/x11/touch_factory_x11.h"
 #endif
-#if !defined(OS_CHROMEOS) && defined(USE_AURA) && defined(OS_LINUX)
+#if !defined(OS_CHROMEOS) && defined(USE_AURA) && (defined(OS_BSD) || defined(OS_LINUX))
 #include "ui/base/ime/input_method_initializer.h"
 #endif
 
@@ -107,7 +107,7 @@ void ShellBrowserMainParts::PostMainMessageLoopStart()
 }
 
 void ShellBrowserMainParts::PreEarlyInitialization() {
-#if !defined(OS_CHROMEOS) && defined(USE_AURA) && defined(OS_LINUX)
+#if !defined(OS_CHROMEOS) && defined(USE_AURA) && (defined(OS_BSD) || defined(OS_LINUX))
   ui::InitializeInputMethodForTesting();
 #endif
 #if defined(OS_ANDROID)
